<!--
 * @Author: ys4225/黄迎李
 * @Date: 2021-03-22 22:55:27
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-03-22 23:46:41
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    p[title] {
      color: red
    }

    p[abs] {
      color: red;
      font-size: 40px;
    }

    p[title="513"] {
      font-size: 22px;
    }

    P[title$="12"] {
      font-size: 40px;
    }

    p[title^="5"] {
      background-color: cyan;
    }

    /* p ~ div {
      color: blueviolet;
    }

    .a ~ .c {
      text-decoration: underline;
    }

    p ~ * {
      border:  1px solid;
    } */

    .c+div {
      border: 1px solid;
    }

    div+* {
      text-decoration: underline;
    }


    div::after {
      content: '世界';
      display: block;
    }

    

    p:first-child {
      font-size: 40px;
      border: 3px solid;
    }

    li:nth-child(even) {
      background-color: tomato;
    }

    .a {
      /* filter: grayscale(100%); */
      /* -webkit-tap-highlight-color: transparent; */
      /* transform: translate(30px); */
      background-color: yellow;
      mix-blend-mode:difference;

    }

    html {
      background: black;
    }
  </style>
</head>

<body>
  <p abs="1" class="a">你好</p>
  <p title="212">你好</p>
  <p title="513" class="c">你好</p>

  <div>

    1

  </div>
  <div>
    2
  </div>

  <ul>
    <li>1</li>
    <li>1</li>
    <li>1</li>
    <li>1</li>
    <li>1</li>
    <li>1</li>
    <li>1</li>
    <li>1</li>
    <li>1</li>
    <li>1</li>
  </ul>



</body>

</html>